home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _6FC2ECFDE71244AD8D3716358AC95740 < prev    next >
Encoding:
Text File  |  2003-11-12  |  1.2 KB  |  51 lines

  1. light("omni")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             texgen("dynlight2d")
  8.             texture()
  9.             {
  10.                 image("dynlight2d.png")
  11.                 addressfunc("clamp", "clamp", "clamp")
  12.                 filtering("linear_no_mip")
  13.             }
  14.             colorop("mul", "texture", "tfactor", "current")
  15.         }
  16.  
  17.         tmu()
  18.         {
  19.             texgen("dynlight1d")
  20.             texture()
  21.             {
  22.                 image("dynlight1d.png")
  23.                 addressfunc("clamp", "clamp", "clamp")
  24.                 filtering("linear_no_mip")
  25.             }
  26.             colorop("mul", "texture", "current", "current")
  27.         }
  28.         tmu()
  29.         {
  30.             Texture()
  31.             {
  32.                 Mapchannel(0)
  33.                 Image(TEXTURE1)
  34.                 !include(TEX1OPTIONSFILE)
  35.             }
  36.             colorop("mul", "texture", "current", "current")
  37.             alphaop("arg2", "texture", "tfactor", "current")            
  38.         }        
  39.         
  40.  
  41.         tfactor(1,1,1,0)
  42.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  43.  
  44.         blendfunc("one", "one")
  45.         depthfunc("lequal", 0)
  46.  
  47.         blackfog()
  48.     }
  49. }
  50.  
  51.